<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <h3><%=msg%>成功!<span></span>秒后跳转回列表页</h3>
    <script>
        let span = document.querySelector('span')
        let s = 3
            span.innerHTML = s
        setTimeout(() => {
            window.location.href='/'
        }, 3000);
        setInterval(() => {
            s--
            span.innerHTML = s
        }, 1000);
    </script>
</body>
</html>